from flask import request

from . import news_bp
from controller.news_controller import NewsController


@news_bp.route('/banners', methods=['POST'])
def banners():
    return NewsController.banners(request)


@news_bp.route('/news_list', methods=['POST'])
def news_list():
    return NewsController.news_list(request)
